<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="books.storage.service.*"%>
<%@ page import="books.borrowing.entity.*"%>
<%@ page import="java.util.List"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type"
	content="text/html; charset=windows-1252" />
<title>ELibrary - Accueil</title>
<link rel="stylesheet" type="text/css" href="style.css" />

</head>
<body>
	<div id="wrap">

		<div class="header">
			<div class="logo">
				<a href="Elibrary"><img src="images/logo.gif" alt="" title=""
					border="0" /></a>
			</div>
			<div id="menu">
				<ul>
					<li class="selected"><a href="/ELibrary">Accueil</a></li>
					<li><a href="/ELibrary/catalog">Consulter le catalogue</a></li>
					<% 
					SubscriberEntity user = (SubscriberEntity) session
					.getAttribute("user");
					if(user!=null) {
						out.println("<li><a href='/ELibrary/rent'>Voir mes emprunts</a></li>");
						out.println("<li><a href='/ELibrary/profil'>Modifier mon profil</a></li>");
					}
					%>
				</ul>
			</div>
		</div>


		<div class="center_content">
			<div class="left_content">

				Page d'accueil

				<div class="clear"></div>
			</div>
			<!--end of left content-->

			<div class="right_content">

				<div class="right_box">

					<jsp:include page="login_form.jsp" />
				</div>


			</div>
			<div class="clear"></div>
		</div>
		<!--end of center content-->
		<div class="footer">
			<div class="left_footer">
				<img src="images/footer_logo.gif" alt="" title="" /><br /> <a
					href="http://csscreme.com/freecsstemplates/" title="free templates"><img
					src="images/csscreme.gif" alt="free templates"
					title="free templates" border="0" /></a>
			</div>
			<div class="right_footer">
				<a href="#">Accueil</a>

			</div>
		</div>
	</div>
</body>
</html>